/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tp01;

import java.io.InputStream;
import java.io.OutputStream;

/**
 *
 * @author
 */
public abstract class ConnectionController {

    
    public static final short FORMATO_BINARIO = 2;
    public static final short FORMATO_DECIMAL = 1;
    public static final short FORMATO_HEXADECIMAL = 3;
    public static final short TIPO_DE_CONECCION_SERIAL = 1;
    public static final short TIPO_DE_CONECCION_TCP_IP = 2;
    
    protected static InputStream inputStream;
    protected static OutputStream outputStream;
    
    static long timeStamp;
    
    public static long timeout;

    public ConnectionController() {}
    
    public abstract void conectar();
     
    public abstract void desconectar();

}
